<?php
namespace app\common\validate;

use think\Validate;

class ArticleCate extends Validate{

    protected $rule = [
        'title'            => 'require',
        'index_template'   => 'require',
        'lists_template'   => 'require',
        'content_template' => 'require',
    ];

    protected $message = [
        'title.require'            =>'请填写标题',
        'index_template.require'   =>'请选择封面模板',
        'lists_template.require'   =>'请选择列表模板',
        'content_template.require' =>'请选择内容模板',
    ];


}